MPAM: enable MPAM EL2 traps
authorLouis Mayencourt <[email protected]>
Mon, 11 Feb 2019 11:25:50 +0000 (11:25 +0000)
committerLouis Mayencourt <[email protected]>
Thu, 28 Feb 2019 10:28:25 +0000 (10:28 +0000)
commit537fa859176ff86a9fc5c261384a2d8d0d8c2846
treea600ce205c728442923d5a55219a9bcc2cefcfca
parent1baa28bb2dc79f23c550d67604324afd222221c3
MPAM: enable MPAM EL2 traps

Complete the MPAM enablement in TF-A for lower ELs by enabling the EL2
traps in MPAMHCR_EL2 and MPAM2_EL2.This prevents an
MPAM-unaware-hypervisor to be restricted by an MPAM-aware-guest.

Change-Id: I47bf3f833fa22baa590f83d49cc0e3f2974e698d
Signed-off-by: Louis Mayencourt <[email protected]>
include/arch/aarch64/arch.h
lib/extensions/mpam/mpam.c